package com.peaksport.framework.venum;

import com.peaksport.framework.base.venum.BaseIntEnum;

/**
 * Created by jinbin_guo on 2017-12-07.
 *
 * 基础数据类状态
 */
@SuppressWarnings("serial")
public class DataBaseStatusEnum extends BaseIntEnum {

    private static final int save_value = 0;
    private static final int approved_value = 1;
    private static final int unapproved_vlaue = -1;
    private static final int forbidden_value = -2;
    private static final int deleted_value = -3;


    public static final DataBaseStatusEnum SAVE = new DataBaseStatusEnum(save_value,"保存");
    public static final DataBaseStatusEnum UNAPPROVED = new DataBaseStatusEnum(unapproved_vlaue,"未核准");
    public static final DataBaseStatusEnum APPROVED = new DataBaseStatusEnum(approved_value,"核准");
    public static final DataBaseStatusEnum DELETED = new DataBaseStatusEnum(deleted_value,"删除");
    public static final DataBaseStatusEnum FORBIDDEN  = new DataBaseStatusEnum(forbidden_value,"禁用");

    public DataBaseStatusEnum() {
        super();
    }

    public DataBaseStatusEnum(int value) {
        super(value);
    }

    public DataBaseStatusEnum(int value, String display) {
        super(value, display);
    }
}
